//引入react核心库
import React from 'react'
//引入react-dom
// import ReactDOM from 'react-dom'
import ReactDOM from 'react-dom/client';
//引入app组件
import App from './App'
//渲染app到页面
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<App />);
// ReactDOM.render(<App />, document.getElementById('root'));